package com.hnayan.websocketexample.dto;

import java.util.Date;

/**
 * Created by hnayan on 2017/8/4.
 */
public class Reply {
    private String content;
    private Date date;
    public Reply() {

    }

    public Reply(Message message) {
        this.content=message.getContent();
        this.date = new Date();
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
